<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>编辑登记信息</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<script type="text/javascript" src="${ctx}/script/order.js"></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
	</head>
	<body style="font-size: 12px">
		<form action="${ctx}/productSon.do?method=saveUpdate" method="post" onSubmit="return check();" name="productsons">
		<input type="hidden" name="myorder.id" value="${ordermsg.id}"/>
			<table align="center" width="700px">
				<tr>
					<th align="center" valign="middle" colspan="5" height="25px">
						预订顾客信息登记 - 锐意网
					</th>
				</tr>
				<tr>
					<td class="td_3">
						顾客姓名
					</td>
					<td colspan="3" class="td_04">
						<input type="text" name="myorder.name" value="${ordermsg.name}" id = "name">
					</td>
					<td class="td_04">
						必填
					</td>
				</tr>
				<tr>
					<td class="td_3">
						联系电话
					</td>
					<td colspan="3" class="td_04">
						<input type="text" name="myorder.phone" value="${ordermsg.phone}" id = "phone">
					</td>
					<td class="td_04">
						必填
					</td>
				</tr>
				<tr>
					<td class="td_3">
						职业
					</td>
					<td colspan="3" class="td_04">
						 <html:select name="ordermsg" property="role">
							<html:option value="">
								请选择职业
								</html:option>
							<html:option value="政府机关/干部">
								政府机关/干部
							</html:option>
							<html:option value="邮电通信">
								邮电通信
							</html:option>
							<html:option value="计算机">
								计算机
							</html:option>
							<html:option value="网络">
								网络
							</html:option>
							<html:option value="商业/贸易">
								商业/贸易
							</html:option>
							<html:option value="银行/金融/证券/保险/投资">
								银行/金融/证券/保险/投资
							</html:option>
							<html:option value="税务">
								税务
							</html:option>
							<html:option value="咨询">
								咨询
							</html:option>
							<html:option value="社会服务">
								社会服务
							</html:option>
							<html:option value="旅游/饭店">
								旅游/饭店
							</html:option>
							<html:option value="健康/医疗服务">
								健康/医疗服务
							</html:option>
							<html:option value="房地产">
								房地产
							</html:option>
							<html:option value="交通运输">
								交通运输
							</html:option>
							<html:option value="法律/司法">
								法律/司法
							</html:option>
							<html:option value="文化/娱乐/体育">
								文化/娱乐/体育
							</html:option>
							<html:option value="媒介/广告">
								媒介/广告
							</html:option>
							<html:option value="科研/教育">
								科研/教育
							</html:option>
							<html:option value="农业/渔业/林业/畜牧业">
								农业/渔业/林业/畜牧业
							</html:option>
							<html:option value="矿业/制造业">
								矿业/制造业
							</html:option>
							<html:option value="学生">
								学生
							</html:option>
							<html:option value="自由职业">
								自由职业
							</html:option>
							<html:option value="其他">
								其他
							</html:option>
						</html:select> 
					</td>
					<td class="td_04">
						必填
					</td>
				</tr>
				<tr>
					<td class="td_3">
						地址
					</td>
					<td colspan="3" class="td_04">
						<input type="text" name="myorder.address"
							style="width: 95%; height: 50px" value="${ordermsg.address}" />
					</td>
					<td class="td_04">
						可选
					</td>
				</tr>
				<tr>
					<td class="td_3">
						电子邮件
					</td>
					<td colspan="3" class="td_04">
						<input type="text" name="myorder.email" value="${ordermsg.email}" />
					</td>
					<td class="td_04">
						可选
					</td>
				</tr>
				<tr>
					<td class="td_3">
						预订主商品
					</td>
					<td colspan="4" class="td_04">
						<logic:present name="alls">
							<logic:iterate id="role" name="alls">
								<logic:equal value="${role.name}" name="ordermsg" property="pname">
								<INPUT type=radio name="myorderproduct.product_id" value="${role.product_id}" checked id = "product">
									${role.name}
									<br />
								</logic:equal>
								<logic:notEqual value="${role.name}" name="ordermsg" property="pname">
								<INPUT type=radio name="myorderproduct.product_id" value="${role.product_id}">
									${role.name}
									<br />
									</logic:notEqual>
							</logic:iterate>
						</logic:present>
					</td>
				</tr>
				<tr>
					<td class="td_3">
						预订其它商品
					</td>
					<td colspan="4" class="td_04">
						<input type="text" name="myorder.other"
							style="width: 95%; height: 50px" value="${ordermsg.other}" />
					</td>
				</tr>
				<tr>
					<td colspan="5" height="25px" align="center">
						发货方式
					</td>
				</tr>
				<tr>
					<td class="td_3">
						<logic:equal value="0" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="0"
								checked="checked">邮寄</logic:equal>
						<logic:notEqual value="0" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="0">
						邮寄</logic:notEqual>
					</td>
					<td class="td_03">
						<logic:equal value="1" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="1"
								checked="checked">北京送货
						</logic:equal>
						<logic:notEqual value="1" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="1">北京送货</logic:notEqual>

					</td>
					<td class="td_03">
						<logic:equal value="2" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="2"
								checked="checked">网站自提</logic:equal>
						<logic:notEqual value="2" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="2">
						网站自提</logic:notEqual>
					</td>
					<td class="td_03">
						<logic:equal value="3" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="3"
								checked="checked">五棵松店自取</logic:equal>
						<logic:notEqual value="3" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="3">
						五棵松店自取</logic:notEqual>
					</td>
					<td class="td_03">
						<logic:equal value="4" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="4"
								checked="checked">SOHO店自取</logic:equal>
						<logic:notEqual value="4" name="ordermsg" property="deliver">
							<input type="radio" name="myorder.deliver" value="4">
						SOHO店自取</logic:notEqual>
					</td>
				</tr>
				<tr>
					<td class="td_3">
						预定信息
					</td>
					<td class="td_04">
						定金
						<input type="text" name="myorder.cash" value="${ordermsg.cash}"/>
					</td>
					<td class="td_04" colspan="3">
						<!--  时间
						<input type="text" name="myorder.time" value="${ordermsg.time}"/>
						&nbsp; -->地点
						<input type="text" name="myorder.palce" value="${ordermsg.place}"/>
					</td>
				</tr>
				<tr>
					<td class="td_3">
						备注
					</td>
					<td colspan="4" class="td_04">
						<input type="text" name="myorder.memo"
							style="width: 95%; height: 80px" value="${ordermsg.memo}" />
					</td>
				</tr>
				<tr>
					<td colspan="5" align="center">
						<input type="submit" name="Submit" class="btn" value="提交信息">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>